//
//  TeacherViewModel.h
//  HTP
//
//  Created by admin on 15/11/5.
//  Copyright © 2015年 nit. All rights reserved.
//

#import "ViewModel.h"
#import "TeacherModel.h"
@interface TeacherViewModel : ViewModel
/**
 *  教师获取
 *
 *  @param subject 获取不同科目的教师
 */
//{
//    "Count": 1,
//    "Info": [
//             {
//                 "sumStu": 0,
//                 "sumTime": 0,
//                 "tchDegree": "",
//                 "tchFlagCount": 0,
//                 "tchGraduate": "",
//                 "tchId": 2,
//                 "tchLevel": 0,
//                 "tchMajor": "",
//                 "tchMotto": "",
//                 "tchPraiseCount": 0,
//                 "tchSuccess": "",
//                 "tchTeachYears": 0,
//                 "teacherArea": "",
//                 "userLatitude": 0,
//                 "userLongitude": 0,
//                 "userName": "teacherTest",
//                 "userNickName": "",
//                 "userPhoto": ""
//             }
//             ],
//    "Result": "Success"
//}
-(void)getTeacherBySubject:(NSString *)subject andStart:(NSString *)start withLength:(NSString *)length;
/**
 *  获取教师详情
 *
 *  @param teacherId 老师id
 */
-(void)getTeacherInfoByTeacherId:(NSString *)teacherId;
/**
 *  接口获取所有年级
 */
- (void)getGradeInfo;

//courseName：课程名
//gradeName：年级名
//teacherCity：教师所在城市
//teacherSex：教师性别  0男，1女，2全部
//teacherMethod：授课方式 0一对一，1一对多，2全部
//teacherType：教师类型 0大学生，1专职教师,2全部
//sortType：排序方式  0默认排序 1课时量从高到底 2评分从高到低 3学生数从多到少 4距离由近及远
//preLongitude：当前经度
//preLatitude：当前纬度
/**
 *  获取筛选后的教师数据
 *
 *  @param courseName
 *  @param gradeName
 *  @param teacherCity
 *  @param teacerSexy
 *  @param teacherMethod
 *  @param teacherType
 *  @param sortType
 *  @param preLongitude
 *  @param preLatitude   
 */
- (void)selectSortTeacher:(NSString *)courseName gradeName:(NSString *)gradeName teacherCity:(NSString *)teacherCity teacherSexy:(NSString *)teacerSexy teacherMethod:(NSString *)teacherMethod teacherType:(NSString *)teacherType sortType:(NSString *)sortType preLongitude:(NSString *)preLongitude preLatitude:(NSString *)preLatitude;
/**
 *  用户点赞收藏接口
 *
 *  @param teacherUserId 
 */
- (void)addUserStore:(NSNumber *)teacherUserId userStoreType:(NSNumber *)userType;
@end
